/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cvic1;

import java.time.Year;

/**
 *
 * @author jarda
 */
public class Auto {
    Year yearOfManufacture;
    String colour;
    Kolo wheel;
    int wheelNumb;
    
    public Auto(Year manufactured,String col, int diametr , int numberOfWheels){
        this.colour=col;
        this.yearOfManufacture=manufactured;
        this.wheelNumb=numberOfWheels;
        this.wheel=new Kolo(diametr);
        
        
    
    }
    
}
